package com.fastjrun.ciagent.mojo;

import org.apache.maven.plugin.MojoExecutionException;

/**
 * @goal bundlegc
 */
public class BundleGCMojo extends CommonGCMojo {
    /**
     * 
     * @parameter property="bundle.bundleFile" default-value="demo_bundle.xml"
     */

    private String bundleFile;
    /**
     * 
     * @parameter property="bundlegc.bundleDir" default-value="Bundle"
     */

    private String bundleDir;

    public void execute() throws MojoExecutionException {
        if (skip)
            return;

        getLog().info(accessKey);

        getLog().info(accessKeySn);

        getLog().info(apiUrlPre);

        getLog().info(bundleFile);

        getLog().info(packagePrefix);

        getLog().info(projectDir);

        getLog().info(bundleDir);

        getLog().info(tmpWorkSpace);

        this.execute("Bundle", bundleFile, bundleDir);
    }
}
